package com.hoyue.system.service.impl;

import com.hoyue.system.dao.PermissionMapper;
import com.hoyue.system.service.PermissionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Set;

/**
 * @author 空白
 * @version 1.0
 * Create by 2019/09/06 16:59
 */
@Service
public class PermissionServiceImpl implements PermissionService {

    @Resource
    PermissionMapper permissionMapper;

    @Override
    public Set<String> getPermission(Integer roleId) {
        return permissionMapper.getPermission(roleId);
    }
}
